aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/bots/[bot_name].svelte
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/routes/bots/[bot_name].svelte')
-rw-r--r--web/pw-server/src/routes/bots/[bot_name].svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/pw-server/src/routes/bots/[bot_name].svelte b/web/pw-server/src/routes/bots/[bot_name].svelte
index cf8c42a..99278df 100644
--- a/web/pw-server/src/routes/bots/[bot_name].svelte
+++ b/web/pw-server/src/routes/bots/[bot_name].svelte
@@ -5,7 +5,7 @@
const apiClient = new ApiClient(fetch);
try {
- const [botData, matches] = await Promise.all([
+ const [botData, matchesPage] = await Promise.all([
apiClient.get(`/api/bots/${params["bot_name"]}`),
apiClient.get("/api/matches", { bot: params["bot_name"], count: "20" }),
]);
@@ -19,7 +19,7 @@
bot,
owner,
versions,
- matches,
+ matches: matchesPage["matches"],
},
};
} catch (error) {